/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-12-15 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询
export const getList = (params) => axios.post(`${SERVER.RETAIL}/ttVsAllocateApply/queryAllocateApply`, params)
// 查询详情
export const getDetail = (params) => axios.get(`${SERVER.RETAIL}/ttVsAllocateApply/queryAllocateApplyDetail`, {
  params
})
// 入库确认
// 导出
export const exportList = (params) => axios.post(`${SERVER.RETAIL}/ttVsAllocateApply/allocateApplyExportExcel`, params, {
  responseType: 'blob'
})

// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
